<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE>
<html>
	<head>
		<title>我的信息</title>
		
		<smLink1></smLink1>
		<smLink2></smLink2>
		
		<smScript1></smScript1>
		<smScript2></smScript2>
	</head>

	<body>
		<div id="breadcrumbs" class="breadcrumbs ace-save-state">
			<ul class="breadcrumb">
				<li>
					<span>我的信息</span>
				</li>
			</ul>
		</div>
	
		<div class="page-content">
			<div class="row">
				<div class="col-xs-12">
					<form id="user_form" class="form-horizontal" role="form" method="post" action="">
						<div class="form-group">
							<label class="col-xs-3 control-label no-padding-right" for="login_name">姓名</label>

							<div class="col-xs-9">
								<input id="login_name" name="loginName" class="col-md-7" type="text" value="${resultVo.result.loginName}" readonly="readonly" placeholder="姓名">
							</div>
						</div>
						
						<div class="space-1"></div>

						<div class="form-group">
							<label class="col-xs-3 control-label no-padding-right" for="loginid">账号</label>

							<div class="col-xs-9">
								<input id="loginid" name="loginid" class="col-md-7" type="text" value="${resultVo.result.loginid}" readonly="readonly" placeholder="账号">
							</div>
						</div>

						<div class="space-1"></div>

						<div class="form-group">
							<label class="col-xs-3 control-label no-padding-right" for="colliery_no">企业编码</label>

							<div class="col-xs-9">
								<input id="colliery_no" name="collieryNo" class="col-md-7" type="text" value="${resultVo.result.collieryNo}" readonly="readonly" placeholder="企业编码">
							</div>
						</div>

						<div class="space-1"></div>

						<div class="form-group">
							<label class="col-xs-3 control-label no-padding-right" for="industry_code">所属行业</label>

							<div class="col-xs-9">
								<c:choose>
									<c:when test="${resultVo.result.industryCode eq 'A'}">
										<input id="industry_code" name="industryCode" class="col-md-7" type="text" value="煤矿" readonly="readonly" placeholder="所属行业">
									</c:when>
									<c:when test="${resultVo.result.industryCode eq 'B'}">
										<input id="industry_code" name="industryCode" class="col-md-7" type="text" value="非煤矿山" readonly="readonly" placeholder="所属行业">
									</c:when>
									<c:when test="${resultVo.result.industryCode eq 'C'}">
										<input id="industry_code" name="industryCode" class="col-md-7" type="text" value="危化烟花爆竹" readonly="readonly" placeholder="所属行业">
									</c:when>
									<c:when test="${resultVo.result.industryCode eq 'D'}">
										<input id="industry_code" name="industryCode" class="col-md-7" type="text" value="职业健康和工贸" readonly="readonly" placeholder="所属行业">
									</c:when>
									<c:when test="${resultVo.result.industryCode eq 'E'}">
										<input id="industry_code" name="industryCode" class="col-md-7" type="text" value="公共" readonly="readonly" placeholder="所属行业">
									</c:when>
									<c:when test="${resultVo.result.industryCode eq 'F'}">
										<input id="industry_code" name="industryCode" class="col-md-7" type="text" value="八大行业" readonly="readonly" placeholder="所属行业">
									</c:when>
									<c:when test="${resultVo.result.industryCode eq 'X'}">
										<input id="industry_code" name="industryCode" class="col-md-7" type="text" value="其他" readonly="readonly" placeholder="所属行业">
									</c:when>
									<c:otherwise>
										<input id="industry_code" name="industryCode" class="col-md-7" type="text" value="${resultVo.result.industryCode}" readonly="readonly" placeholder="所属行业">
									</c:otherwise>
								</c:choose>
							</div>
						</div>

						<div class="space-1"></div>

						<div class="form-group">
							<label class="col-xs-3 control-label no-padding-right" for="is_admin">用户类型</label>

							<div class="col-xs-9">
								<c:choose>
									<c:when test="${resultVo.result.isAdmin eq '2'}">
										<input id="is_admin" name="isAdmin" class="col-md-7" type="text" value="超级管理员" readonly="readonly" placeholder="用户类型">
									</c:when>
									<c:when test="${resultVo.result.isAdmin eq '1'}">
										<input id="is_admin" name="isAdmin" class="col-md-7" type="text" value="管理员" readonly="readonly" placeholder="用户类型">
									</c:when>
									<c:when test="${resultVo.result.isAdmin eq '0'}">
										<input id="is_admin" name="isAdmin" class="col-md-7" type="text" value="普通用户" readonly="readonly" placeholder="用户类型">
									</c:when>
									<c:otherwise>
										<input id="is_admin" name="isAdmin" class="col-md-7" type="text" value="${resultVo.result.isAdmin}" readonly="readonly" placeholder="用户类型">
									</c:otherwise>
								</c:choose>
							</div>
						</div>

						<div class="space-1"></div>

						<div class="form-group">
							<label class="col-xs-3 control-label no-padding-right" for="is_leader">是否为领导</label>

							<div class="col-xs-9">
								<c:choose>
									<c:when test="${resultVo.result.isLeader eq '1'}">
										<input id="is_leader" name="isLeader" class="col-md-7" type="text" value="是" readonly="readonly" placeholder="是否为领导">
									</c:when>
									<c:when test="${resultVo.result.isLeader eq '0'}">
										<input id="is_leader" name="isLeader" class="col-md-7" type="text" value="否" readonly="readonly" placeholder="是否为领导">
									</c:when>
									<c:otherwise>
										<input id="is_leader" name="isLeader" class="col-md-7" type="text" value="${resultVo.result.isLeader}" readonly="readonly" placeholder="是否为领导">
									</c:otherwise>
								</c:choose>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</body>
</html>